package com.migo.api;

import com.migo.annotation.IgnoreAuth;
import com.migo.utils.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Wes on 2018/11/7.
 */
@RestController
@RequestMapping("/api")
public class ApiErrorController {

    /**
     * 修改密码
     */
//    @SysLog("修改密码")
    @IgnoreAuth
    @RequestMapping(value = "error", produces = "application/json;charset=utf-8;")
    public R error() {
       return R.error(500,"server error");
    }

}
